Chapter 6 - Configuration Management
This chapter describes Open Transport functions that initialize Open Transport, configure a provider, and provide information about the ports available on your computer.You need to read this chapter if your application wants to use Open Transport or open a provider because in the former case, you must initialize all or some
of Open Transport, and in the latter case, you must create a provider configuration. In addition, if your application has the ability to switch ports, you need to be able to obtain port information.This chapter discusses
This chapter begins by introducing the basic concepts of provider configuration and port information, then gives the details of how to initialize Open Transport, how to find a specific port and extract information about it, and how to register your application as an Open Transport client.
- initializing all or part of Open Transport
- configuring providers and reusing configuration structures
- browsing available ports and getting specific port information
- registering as an Open Transport client
- handling yield port requests
Chapter Contents
- About Provider Configurations
- About Port Information
- Using the Configuration Functions
- Determining Whether Open Transport Is Available
- Initializing Open Transport
- Using Open Transport From a Client Application
- Using Open Transport From a Stand-Alone Code Segment
- Creating and Reusing Provider Configurations
- Obtaining Port Information
- Requesting a Port to Yield Ownership
- Registering as an Open Transport Client
- Configuration Management Reference
- Constants and Data Types
- The Gestalt Selector and Response Bits
- Port-Related Events
- The Configuration Structure
- The Port Structure
- The Port Reference
- The Client List Structure
- The Port Close Structure
- Functions
- Initializing and Closing Open Transport
- Creating, Cloning, and Removing a Configuration Structure
- Getting Information About Ports
- Requesting a Port to Yield Ownership
- Registering as a Client